package oop.lab.domain.board;

public enum PieceColor {
    BLACK,
    WHITE;

    public PieceColor oppositeColor() {
        if (this == BLACK)
            return WHITE;
        else
            return BLACK;
    }

    public static PieceColor[] allColors() {
        return PieceColor.values();
    }

    @Override
    public String toString() {
        if(this == BLACK) return "●";
        else return "○";
    }
    
}